﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>抽奖活动测试</title>
    <script src="../js/jquery.min.js"></script>
    <script>
        $(function () {
            $('#testMQlottery').click(function () {
                var a_type = $('#a_type').val();
                var a_openId = $('#a_openId').val();
                $.post("ActivityMQHandler.ashx", { "action": "LotteryMQIntegral", "type": a_type, "openId": a_openId }, function (data) {
                    if (data.Success == true) {
                        console.log(data.Message);
                    }
                });
            });
        });
    </script>
</head>
<body>
    <label>微信编号：</label>
    <input type="text" id="a_openId" style="width:200px; height:24px;" />
    <label>抽奖类型：</label>
    <input type="text" id="a_type" style="width:200px; height:24px;" />
    <button id="testMQlottery" style="height:24px;">测试队列抽奖</button>

</body>
</html>